package cn.com.fuhuitong.main.cart.ui.activity

import cn.com.fuhuitong.R
import cn.com.fuhuitong.aroute.ARouteConstance
import cn.com.fuhuitong.base.BaseAbstractActivity
import cn.com.fuhuitong.main.cart.ui.fragment.CartFragment
import com.alibaba.android.arouter.facade.annotation.Route

@Route(path = ARouteConstance.ACTIVITY_URL_CART)
class CartActivity : BaseAbstractActivity() {

    override val layoutResId: Int
        get() = R.layout.activity_cart

    override fun initView() {
        supportFragmentManager.beginTransaction()
            .add(
                R.id.frameLayout_cart, CartFragment.newInstance(
                    isShowBack = true
                )
            )
            .commit()
    }
}